package com.ruoyi.procured.service;

import com.ruoyi.common.constant.Constants;
import com.ruoyi.procured.domain.PaymentRequest;
import com.ruoyi.procured.domain.PaymentRequestProcess;
import com.ruoyi.procured.domain.vo.PaymentRequestProcessVo;
import com.ruoyi.template.domain.TemplateDetail;

import java.util.List;

/**
 * 审核流程Service接口
 * 
 * @author 刘广帆
 * @date 2024-10-18
 */
public interface IPaymentRequestProcessService {
    /**
     * 新增审核流程
     * @param
     * @return 结果
     */
    public  void insertPaymentRequestProcessQuash(String paymentRequestId, List<TemplateDetail> templateDetails, Long userId);
    /**
     * 查询审核流程
     * @param paymentRequestId
     * @return
     */
    public List<PaymentRequestProcessVo> selectPaymentRequestProcessList(String paymentRequestId);
    /**
     * 更新审核流程状态
     * @param paymentRequestProcess
     * @return
     */
    public int updateProcessStatus(PaymentRequestProcess paymentRequestProcess);
    /**
     * 更新申请表状态
     * @param paymentRequest
     * @return
     */
    public int updatePaymentReviewStatusToPaymentVoucher(PaymentRequest paymentRequest);
}

